package xyz.xtt.exchange.service;

import java.util.Set;

import com.baomidou.mybatisplus.extension.service.IService;

import xyz.xtt.exchange.entity.TblUserLike;

/**
 * <p>
 * 用户点赞表 服务类
 * </p>
 *
 * @author author
 * @since 2024-12-30
 */
public interface IUserLikeService extends IService<TblUserLike> {
	Boolean like(Long uid, String goodsId, int status);

	Boolean isLike(Long uid, String goodsId);

	/**
	 * 获取我的点赞列表
	 * 
	 * @param uid
	 * @return
	 */
	Set<String> getUserLike(Long uid);

	Set<String> getUserLikeCache(Long uid);
}
